package com.koala.learn.bianma;

import cn.hutool.core.codec.Base64;
import lombok.Data;

/**
 * base64加解密
 *
 * @author yantingrui
 * @date 2022/6/29   14:19
 */
@Data
public class Base64Test {

    private static final String url = "localhost:8081/v1/put/params?name=tom&age=121";
    private static final String u = "MTIzNDU0";

    public static void main(String[] args) {
        //String encode = Base64.encode(url);
        //System.out.println(Base64.encode(url));
        System.out.println(Base64.decodeStr("MTI"));
    }
}
